#ifndef __BOX_H__
#define __BOX_H__

#include <SFML/Graphics.hpp>
#include <Box2D/Box2D.h>
#include <boost/shared_ptr.hpp>

class Map;

class Box : public sf::Sprite
{
	public :
		Box(Map& map, const int x, const int y, const unsigned int index);
		Box(const Box& b);
		Box& operator=(const Box& b);
		virtual ~Box();
		
	protected :
		b2Body *m_body;
		Map& m_map;
		
		mutable unsigned int m_index;
};

typedef boost::shared_ptr<Box> BoxPtr;


#endif /* __BOX_H__ */

